﻿@{
    ViewBag.Title = "ForgotPassword";
}
<script>
    function isEmail(s) {
        var reEmail = /^.+\@.+\..+$/;
        return reEmail.test(s)
    }

    function CanceOnclick() {
        $('#iptFirstName').val('');
        $('#iptLastName').val('');
        $('#iptEmail').val('');
        $('#iptConEmail').val('');
        $('#iptPassWord').val('');
    }

    function ValidateData() {
       
        if ($('#iptEmail').val().length == 0) {
            alert('Enter your Email Address');
            $('#iptEmail').focus();
            return;
        }        
        if (isEmail($('#iptEmail').val()))
        { }
        else {
            alert("Please state a valid email address\nzzz@xxx.yy");
            $('#iptEmail').focus();
            return;
        }        

        document.forms['frmForgotPassWord'].submit();
    }
</script>
<form id="frmForgotPassWord" method="post" action="/Member/ForgotPassword">
    <table width="100%" border="0" cellspacing="0" cellpadding="1">
        <tbody>
            <tr>
                <td align="left">
                    <table width="100%" cellspacing="2" cellpadding="2" align="center" border="0">
                        <tbody><tr align="center" bgcolor="#525E54">
                            <td height="25" colspan="2">
                                <font face="arial" size="2" color="#FFFFFF"><strong>Forgot Password </strong></font>
                            </td>
                        </tr>
                        <tr><td colspan="2" style="height: 20px;">&nbsp;</td></tr>
                        <tr bgcolor="#FFFFFF">
                            <td width="10%">&nbsp;&nbsp;&nbsp;&nbsp;E-Mail&nbsp;<span style="color: Red"><b>*</b></span><br></td>
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<input type="text" name="email" style="width: 60%" id="iptEmail">
                            </td>
                        </tr>
                        <tr valign="top" bgcolor="#FFFFFF">
                            <td> &nbsp;</td>
                            <td>&nbsp;&nbsp;&nbsp;&nbsp;<input type="submit" name="submit" value="Get Password"></td>
                        </tr>
                        <tr valign="top" bgcolor="#FFFFFF"><td colspan="2"> &nbsp;</td>
                        </tr>
                    </tbody></table>
                </td>
            </tr>
        </tbody>
    </table>
</form>

